package com.lanou.zy.projecta.entity;

import java.util.List;

/**
 * Created by dllo on 15/11/4.
 */
public class SearchResult {

    /**
     * status : 1
     * info :
     * times : 0
     * data : {"keyword":"西伯利","entry":[{"id":7160,"cnname":"新西伯利亚","enname":"Novosibirsk","lat":"55.041111","lng":"82.934441"},{"id":430,"cnname":"伯利兹","enname":"Belize","lat":"17.189877","lng":"-88.497650"},{"id":6986,"cnname":"伯利兹城","enname":"Belize city","lat":"17.483334","lng":"-88.183334"},{"id":9253,"cnname":"伯利恒","enname":"Bethlehem","lat":"31.705751","lng":"35.202660"},{"id":10338,"cnname":"金伯利","enname":"Kimberley","lat":"-28.729290","lng":"24.754040"},{"id":10211,"cnname":"默哈伯利布勒姆","enname":"Mamallapuram","lat":"12.626927","lng":"80.192711"}]}
     * ra_referer :
     */

    private int status;
    private String info;
    private int times;
    private DataEntity data;
    private String ra_referer;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setRa_referer(String ra_referer) {
        this.ra_referer = ra_referer;
    }

    public int getStatus() {
        return status;
    }

    public String getInfo() {
        return info;
    }

    public int getTimes() {
        return times;
    }

    public DataEntity getData() {
        return data;
    }

    public String getRa_referer() {
        return ra_referer;
    }

    public static class DataEntity {
        /**
         * keyword : 西伯利
         * entry : [{"id":7160,"cnname":"新西伯利亚","enname":"Novosibirsk","lat":"55.041111","lng":"82.934441"},{"id":430,"cnname":"伯利兹","enname":"Belize","lat":"17.189877","lng":"-88.497650"},{"id":6986,"cnname":"伯利兹城","enname":"Belize city","lat":"17.483334","lng":"-88.183334"},{"id":9253,"cnname":"伯利恒","enname":"Bethlehem","lat":"31.705751","lng":"35.202660"},{"id":10338,"cnname":"金伯利","enname":"Kimberley","lat":"-28.729290","lng":"24.754040"},{"id":10211,"cnname":"默哈伯利布勒姆","enname":"Mamallapuram","lat":"12.626927","lng":"80.192711"}]
         */

        private String keyword;
        private List<EntryEntity> entry;

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public void setEntry(List<EntryEntity> entry) {
            this.entry = entry;
        }

        public String getKeyword() {
            return keyword;
        }

        public List<EntryEntity> getEntry() {
            return entry;
        }

        public static class EntryEntity {
            /**
             * id : 7160
             * cnname : 新西伯利亚
             * enname : Novosibirsk
             * lat : 55.041111
             * lng : 82.934441
             */

            private int id;
            private String cnname;
            private String enname;
            private String lat;
            private String lng;

            public void setId(int id) {
                this.id = id;
            }

            public void setCnname(String cnname) {
                this.cnname = cnname;
            }

            public void setEnname(String enname) {
                this.enname = enname;
            }

            public void setLat(String lat) {
                this.lat = lat;
            }

            public void setLng(String lng) {
                this.lng = lng;
            }

            public int getId() {
                return id;
            }

            public String getCnname() {
                return cnname;
            }

            public String getEnname() {
                return enname;
            }

            public String getLat() {
                return lat;
            }

            public String getLng() {
                return lng;
            }
        }
    }
}
